#ifndef __MENU_H
#define __MENU_H


#include "stm32f10x.h" // Device header
#include "Delay.h"
#include "oled.h"

extern uint8_t mode;
extern uint8_t mode_time;
extern uint8_t time_temp;
extern uint16_t water_num;
extern uint8_t water_level;
extern uint8_t ReData_T;
extern uint8_t ReData_H;

void main_menu(uint8_t key_num);
void set_menu(uint8_t key_num, uint8_t mode);
void run_menu(void);


#endif
